package com.putige.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.putige.reggie.entity.Orders;

import java.text.ParseException;

public interface OrderService extends IService<Orders> {
    boolean submit(Orders orders);

    Page<Orders> userOrder(Integer page, Integer pageSize);

    Page<Orders> userOrders(Integer page, Integer pageSize, String number, String beginTime, String endTime) throws ParseException;
}